package com.fujimana.rockincat.restree.init.message;

import java.util.ArrayList;
import java.util.List;

import com.fujimana.rockincat.restree.init.Item;

public class MessageItem implements Item {
	
	private List<Enum<?>> messages;

	public MessageItem() {
		this.messages = new ArrayList<Enum<?>>();
	}

	public List<Enum<?>> getMessages() {
		return messages;
	}

	public void setMessages(List<Enum<?>> messages) {
		this.messages = messages;
	}
	
	public void addMessages(Enum<?> message) {
		this.messages.add(message);
	}
	
	@Override
	public String getType() {
		return MessageItem.class.getName();
	}

}
